package com.hskn.hss.module.tlequipmodel.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.core.domain.BaseEntity;
import com.hskn.hss.entity.AjaxResult;
import com.hskn.hss.entity.ListEntity;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.tlequip.entity.TlEquip;
import com.hskn.hss.module.tlequipmodel.entity.TlEquipmodel;
import com.hskn.hss.module.user.entity.User;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-11
 */
public interface ITlEquipmodelService extends IService<TlEquipmodel> {
    AjaxResult insert(TlEquipmodel tlEquipmodel) throws HssException;

    AjaxResult update(JSONObject params) throws HssException;
    AjaxResult updatebyids(TlEquipmodel tlEquipmodel) throws HssException;

    AjaxResult deletebyid(JSONObject params) throws HssException;
    AjaxResult deletebatchbyid(TlEquipmodel tlEquipmodel) throws HssException;
    JSONObject getList(BaseEntity entity, JSONObject params) throws HssException;

    TlEquipmodel getDetail(JSONObject params) throws HssException;

    List<ListEntity> getSelectList(JSONObject params);
}
